﻿using mozhi.smarterp.Finance.Enums;
using System;
using System.Collections.Generic;
using System.Text;

namespace mozhi.smarterp.Finance.Views
{
    public class vFinancialReportItem
    {
        public string Code { private set; get; }

        public string ParentCode { private set; get; }

        public string AssociateCode { private set; get; }

        public string ReportType { private set; get; }

        public string AccountStandard { private set; get; }

        public string Number { private set; get; }

        public string Name { private set; get; }

        public string RowType { private set; get; }

        public string Index { private set; get; }
    }

    public class vFinancialReportItemSetting
    {
        public string AccountStandard { private set; get; }

        public string ReportItemCode { private set; get; }

        public string ValueRuleType { private set; get; }

        /// <summary>
        /// 计算对象（科目代码或者行号（R开头））
        /// </summary>
        public string AccountCode { private set; get; }

        /// <summary>
        /// 操作符号（+ ， -）
        /// </summary>
        public string Operator { private set; get; }

        /// <summary>
        /// 前置条件
        /// </summary>
        public string Precondition { private set; get; }
    }
}
